package org.jeecg.modules.reserve.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: sdxc_reserve
 * @Author: jeecg-boot
 * @Date:   2020-09-18
 * @Version: V1.0
 */
@Data
@TableName("sdxc_reserve")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="sdxc_reserve对象", description="sdxc_reserve")
public class SdxcReserve implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键uuid*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键uuid")
    private String id;
	/**预约用户*/
	@Excel(name = "预约用户", width = 15)
    @ApiModelProperty(value = "预约用户")
    private String userId;
	/**场地id*/
	@Excel(name = "场地id", width = 15)
    @ApiModelProperty(value = "场地id")
    private String placeId;
	/**预约入场时间*/
	@Excel(name = "预约入场时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "预约入场时间")
    private Date entryTime;
	/**入场事由*/
	@Excel(name = "入场事由", width = 15)
    @ApiModelProperty(value = "入场事由")
    private String entryReason;
	/**健康码地址*/
	@Excel(name = "健康码地址", width = 15)
    @ApiModelProperty(value = "健康码地址")
    private String healthUrl;
	/**状态*/
	@Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
    private Integer status;
	/**创建者*/
    @ApiModelProperty(value = "创建者")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**修改者*/
    @ApiModelProperty(value = "修改者")
    private String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
    /** * 预约日期 */
    @TableField(exist = false)
    private String entryDate;
    /** * 场地信息 */
    @TableField(exist = false)
    private String placeName;
    /** * 是否为空 */
    @TableField(exist = false)
    private int IsEntry;
    /** * 状态 */
    @TableField(exist = false)
    private String StatusString;

}
